MailPoet\Newsletter\NewsletterSaveController A

Total Complexity 65
Dependencies 30
Dependents 3
Total lines 406
Lines of code 267
Logical lines of code 182
Comment lines 39
Methods 11
Properties 16

Methods 11

Method Rating Maintainability Complexity Lines of code
save()
A
46 11 37
updateNewsletter()
A
49 11 32
duplicate()
A
42 8 54
updateSegments()
A
50 9 30
updateQueue()
S
54 6 21
rescheduleIfNeeded()
S
55 6 19
updateOptions()
S
54 5 21
createNewsletter()
S
56 3 18
getNewsletter()
S
64 3 10
__construct()
S
56 1 18
sanitizeAutomationEmailData()
S
69 2 7